package com.example.dw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.dw.entity.Pack;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 用户协议Mapper接口
 * @author system
 * @since 2024-01-01
 */
@Mapper
public interface PackMapper extends BaseMapper<Pack> {

    /**
     * 获取用户协议
     */
    @Select("SELECT * FROM pack LIMIT 1")
    Pack getPack();
} 